From f7f794916dabcc80f77a37380bb04c8aba9c8614 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 26 May 1993 20:34:20 +0000 Subject: [PATCH] (x_wm_set_size_hint): Don't set hints for max size. --- src/xterm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 6959d904e4c..7c6fee06912 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -4493,7 +4493,7 @@ x_wm_set_size_hint (f, prompting) XSizeHints size_hints; Window window = FRAME_X_WINDOW (f); - size_hints.flags = PResizeInc | PMinSize | PMaxSize; + size_hints.flags = PResizeInc | PMinSize /* | PMaxSize */; flexlines = f->height; @@ -4503,9 +4503,10 @@ x_wm_set_size_hint (f, prompting) size_hints.width = PIXEL_WIDTH (f); size_hints.width_inc = FONT_WIDTH (f->display.x->font); size_hints.height_inc = FONT_HEIGHT (f->display.x->font); +#if 0 size_hints.max_width = x_screen_width - CHAR_TO_PIXEL_WIDTH (f, 0); size_hints.max_height = x_screen_height - CHAR_TO_PIXEL_HEIGHT (f, 0); - +#endif { int base_width, base_height; -- 2.30.2